<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        #font{
            width: 250px;
            height: 250px;
            font-size: 14px;
            border: 2px solid red;
            text-align: center;
        }
    </style>
    <script src="../jquery-3.3.1.min.js"></script>
</head>
<body>
    <button id="start">点我一下</button>
    <div id="font">驱蚊器翁群翁群翁</div>
    <script>
        $(function(){
            $("#start").click(function(){
                $("#font").animate({
                    width:"400px",
                    height: "400px", 
                    fontSize: "30px", 
                    left: "500px",
                    borderWidth: 10
                },10000,function(){
                    $('#font').css('borderColor','yellow')
                });
            });
        });
    </script>
</body>
</html>